package com.taxshare.manager.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.taxshare.manager.entity.UserEntity;
import com.taxshare.manager.view.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName: UserMapper
 * @Description: 
 * @author luozhongyi
 * @since 2021-01-28
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    /**
     * 查询用户信息
     * @param iPage
     * @param queryWrapper
     * @return
     */
    IPage<UserVO> queryUserInfos(IPage<UserVO> iPage,
                                      @Param(Constants.WRAPPER)QueryWrapper queryWrapper);
}
